<!DOCTYPE html>
<script type="text/javascript" src="../build.php"></script>
<script type="text/javascript">
var session = [
    window.name,
    sessionStorage.getItem("$key"),
    sessionStorage.setItem("$key", "value"),
    sessionStorage.key(0),
    sessionStorage.setItem("value", "key"),
    sessionStorage.getItem("value"),
    window.name,
    sessionStorage.setItem("$key", "value"),
    window.name,
    sessionStorage.removeItem("value"),
    sessionStorage.getItem("$key"),
    window.name,
    sessionStorage.clear(),
    sessionStorage.length,
    sessionStorage.setItem("", "empty"),
    sessionStorage.key(sessionStorage.length - 1) === "",
    sessionStorage.setItem(String.fromCharCode(1), "SOH"),
    sessionStorage.key(sessionStorage.length - 1) === String.fromCharCode(1),
    sessionStorage.setItem("abc", "def"),
    sessionStorage.key(sessionStorage.length - 1) === "abc",
    window.name
];
for(var i = 0, length = sessionStorage.length; i < length; ++i)
    session.push("[" + escape(sessionStorage.key(i)) + "]");
document.write('<pre>' + session.join("\n") + '</pre>');
</script>